package ch.simas.cdi;

import javax.enterprise.event.Observes;

/**
 *
 * @author Simon
 */
public class HelloObserver {

    public void listenToHello(@Observes HelloEvent helloEvent) {
        System.out.println("HelloEvent: " + helloEvent.getMessage());
    }
}
